﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    public class NonWorkingDayInfo : RecordInfo
    {
        //non_working_seq
        private int seq;
        //DateTime non_working_date
        private Nullable<DateTime> non_working_date;
        //non_working_name
        private string non_working_name;
        //int? bg_year
        private int bg_year;
        private int year;
        private int month;
        private int day;
        private Nullable<DateTime> CreatedWhen;
        private Nullable<DateTime> UpdatedWhen;

       
//remarksvarchar(255) NULL
//record_statusvarchar(2) NULL
//created_byint(11) NULL
//created_whendatetime NULL
//updated_byint(11) NULL
//updated_whendatetime NULL

        public NonWorkingDayInfo()
        { 
        }
        public NonWorkingDayInfo(int Sequence)
        {
            this.Sequence = Sequence;
        }
        public NonWorkingDayInfo(int Sequence, int BudgetYear, Nullable<DateTime> Date, string Name, string Remarks
            , string RecordStatus, Nullable<int> CreatedBy, Nullable<int> UpdatedBy)
        {
            this.Sequence = Sequence;
            this.BudgetYear = BudgetYear;
            this.Date = Date;
            this.Name = Name;
            this.Remarks = Remarks;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }

        public NonWorkingDayInfo(int Sequence, int BudgetYear, Nullable<DateTime> Date, string Name, string Remarks
            , string RecordStatus, Nullable<int> CreatedBy, Nullable<DateTime> CreatedWhen, Nullable<int> UpdatedBy, Nullable<DateTime> UpdatedWhen)
        {
            this.Sequence = Sequence;
            this.BudgetYear = BudgetYear;
            this.Date = Date;
            this.Name = Name;
            this.Remarks = Remarks;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.CreatedWhen = CreatedWhen;
            this.UpdatedBy = UpdatedBy;
            this.UpdatedWhen = UpdatedWhen;
        }

        public int Sequence
        {
            get { return seq; }
            set { seq = value; }
        }
        public Nullable<DateTime> Date
        {
            get { return non_working_date; }
            set { non_working_date = value; }
        }
        public string Name
        {
            get { return non_working_name; }
            set { non_working_name = value; }
        }
        public int BudgetYear
        {
            get { return bg_year; }
            set { bg_year = value; }
        }
        public int Year
        {
            get { return year; }
            set { year = value; }
        }
        public int Month
        {
            get { return month; }
            set { month = value; }
        }
        public int Day
        {
            get { return day; }
            set { day = value; }
        }
    }
}
